package com.ruoyi.coin.model.ave;

import com.ruoyi.common.utils.blade.tool.DateUtil;
import lombok.Data;

import java.math.BigDecimal;
import java.time.Instant;
import java.time.ZonedDateTime;
import java.util.Date;
import java.util.List;

@Data
public class AveTokenModel {
    private Integer status;
    private String msg;

    private String data;

    @Data
    public static class DataModel{
        private Tokenodel token;
        private List<PairsModel> pairs;
    }

    @Data
    public static class Tokenodel{
        private String logo_url;//logo
        private Integer holders;//地址数
        private Integer risk_level;//危险等级0=正常
        private Integer risk_score;//微信评分
        private String symbol;

        private BigDecimal total;//总数
        private BigDecimal lock_amount;//锁仓
        private BigDecimal burn_amount;//燃烧
        private BigDecimal other_amount;//其他

        private Integer decimal;

        private String main_pair;

        private BigDecimal current_price_usd;//当前价格

        private Long publish_at;//开盘时间

        //市值 = （总数-燃烧-锁仓-其他）*价格
    }
    @Data
    public static class PairsModel{
        private String dynamic_tag;
    }


    /**
     * 	"token": {
     * 		"token": "0x3dfdc791fe29eafd5e106977011e5352631bcb1a",
     * 		"chain": "bsc",
     * 		"decimal": 18,
     * 		"name": "Htp",
     * 		"symbol": "Hk",
     * 		"total": "1000000000",
     * 		"holders": 2,
     * 		"open_price": 0.000004579222680152594,
     * 		"publish_at": 1728989773,
     * 		"current_price_eth": 7.7500001e-9,
     * 		"current_price_usd": 0.000004579222680152594,
     * 		"risk_level": 0,
     * 		"logo_url": "",
     * 		"risk_info": "",
     * 		"lock_amount": 0,
     * 		"burn_amount": 0,
     * 		"other_amount": 0,
     * 		"lock_amount_dec": "0",
     * 		"burn_amount_dec": "0",
     * 		"other_amount_dec": "0",
     * 		"risk_score": 40,
     * 		"opening_at": 1728989773,
     * 		"main_pair": "0x3dfdc791fe29eafd5e106977011e5352631bcb1a_gra"
     *        },
     */
}
